home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Info 1994 March
/
Internet Info CD-ROM (Walnut Creek) (March 1994).iso
/
networking
/
ip
/
ka9q
/
pxx111.arc
/
TCP.DOC
< prev
next >
Wrap
Text File
|
1988-02-16
|
8KB
|
205 lines
The PXX Gateway version 1.10
Summary:
The PXX Gateway permits WA7MBL 2xx,3xx,4xx BBS users to pass messages
to and from SMTP on KA9Q's TCP/IP "NET" versions 871225.6 or higher. I
assume that you are using DDOS or Deskview, with the BBS in one partition
and Net running in the other. The gateway exploits the X type forwarding
capabilities to selectively "export" messages from the WA7MBL bbs to
\SPOOL\MQUEUE directory for subsequent periodic processing automatically
by SMTP running on NET. Messages destined for routing thru the BBS are
"extracted" by a new feature in NET (871225.6 or later). A AUTOEXEC.NET
command SMTP MODE QUEUE (as contrasted by SMTP MODE ROUTE) permits messages
which are NOT local users to be placed in \SPOOL\RQUEUE directory in much
the same way as NET handles \SPOOL\MQUEUE "notesfiles". Local users are
any user that is found in the HOSTS.NET file. If you want a message routed
to the BBS from SMTP you may address the message: N5FFN%WA5MPQ@WA3PXX
The gateway will change the address to N5FFN@WA5MPQ after it arrives at
WA3PXX BBS. Another feature of the gateway is to distribute bulletins
(as known by WA7MBL BBS) via SMTP on TCP/IP. In this way the local bulletins
passed around the local BBS's are automagically routed directly to User
on his PC! Bulletins and private mail may be originated from TCPIP/BM
and automatically routed to the BBS.
Organization of the PXX gateway version 10.1
Packet Bulletin Board \/ KA9Q TCP/IP Environment
(FWD.BBS) PXX Gateway SMTP directory
--------------------\ * sample files
W \
X TCPIP \
A @TCPIP.TXT \ ====> [ TCP.COM ] ===> \SPOOL\MQUEUE { smtp input }
wb6rqn \
7 ka4tmb \ *4234.TXT
... \ *4234.WRK
M ________ \
T C:\$$WRK.$$ \ <==== [ TCPX.COM ] <=== \SPOOL\RQUEUE { smtp output}
B 00-23 \
________ \ ^ *2345.TXT
L \ | *2345.WRK
T BULL \ |
B @TCPIP.TXT \ <==== [ TCP.COM FORWARD.LST ] +
B $ARRL \ ^
S $MBLBBS \ |
... \ +---- File with Bulletin Call List
--------------------\
The gateway is composed of two programs and two files:
TCPX.COM Program to "extract" messages from TCP/IP to WA7MBL BBS.
TCP.COM Program to "import" messages from WA7MBL BBS to TCP/IP.
FORWARD.LST File with list of stations to forward bulletins to.
PXX.CNF Configuration file for TCPX.COM and TCP.COM programs.
The following files are created by the gateway (all in the directory
that the WA7MBL PBBS runs in).
TCPIP.TXT This file is created out of the FWD.BBS file for local users
and for Bulletin forwarding.
Format of the PXX Gateway FORWARD.LST file:
<host>,<Bulletin "To: " name>
# is comment character
Example:
To forward to 3 local TCP/IP users via PXX Gateway (wb6rqn,ka4tmb,w3fws).
#
# sample FORWARD.LST file for forwarding Bulletins via PXX Gateway
#
wb6rqn,bulletin
ka4tmb,bulletin
w3fws,bulletin
"bulletin" could be any valid SMTP string
The following modifications must be made to the following WA7MBL BBS
files:
FWD.BBS add entries for T "import" , X "export" and two D ("DOS")
entried to call batch (.BAT) file to execute TCP and TCPX
programs.
$E $E entries for name on X "export" on FWD.BBS file.
(This a WA7MBL BBS command..listed only as a reminder!)
The following modifications must be made to AUTOEXEC.NET
SMTP MODE QUEUE -To "export" unknown messages to PXX gateway.
* Everyone in you LAN (local users) should specify you as there
default gateway. In this way if your users specify an unknown
host (the @HOST) the mail will be sent your way by default.
SMTP DEFAULT WA3PXX
SMTP TIMER 300 -To specify to SMTP every 300 seconds to check \SPOOL\MQUEUE
for new TCP/IP messages.
The following files in the BBS default directory must be configurated.
PXX.CNF This file contains the two path names for SMTP files.
First record contains pathname of \SPOOL\MQUEUE\
Second record contains pathname of \SPOOL\RQUEUE\
FORWARD.LST List of users, and bulletin addresses. # is comment char.
Instructions for Installation of the PXX Gateway:
(1) Create FORWARD.LST with names of each user as defined in HOSTS.NET file.
Sample FORWARD.LST is included as an example.
(2) Create PXX.CNF with two standard text records. The first is the
path name of the SMTP \SPOOL\MQUEUE\ directory:
The second record is the name of the "export" directory \SPOOL\MQUEUE\
Sample PXX.CNF file is included for an example.
(3) Copy TCP.COM into WA7MBL BBS default directory.
(4) Copy TCPX.COM " " " " ".
(5) Modify sample FWD.BBS to include T and X entries to your FWD.BBS
(6) Create a batch file TCPX110.BAT in the BBS default directory
like sample TCPX110.BAT.
(7) Create a batch file TCP110.BAT in the BBS default directory
like sample TCP110.BAT.
(8) Create a batch file TCPB110.BAT in the BBS default directory
like sample TCPB110.BAT.
Installation checklist:
(1) PBBS FWD.BBS file contains X entry pointing to TCPIP.TXT with call
signs of all local automatic distribution.
(2) A D entry in FWD.BBS after (1) above calling TCP110.BAT. This file
contains a short batch job to kick-off TCP.COM.
(3) A X entry in FWD.BBS after (2) above, exporting bulletins with the
$BULL format to TCPIP.TXT.
(4) A D entry in FWD.BBS after (3) above, to TCPB110.BAT. This file contains
a short batch job to execute TCP.COM with a FORWARD.LST file as the
first parameter.
(5) A D entry in FWD.BBS after (4) above, to TCPX110.BAT. TCPX110.BAT
is a short batch job to 'import' mail from SMTP to WA7MBL bbs.
(6) A T entry in FWD.BBS after (5) above, to $$WRK.$$$. This 'imports'
messages into WA7MBL BBS via the "T" (Text-to-mail) command in FWD.BBS.
(7) PXX.CNF has two entries first pointing to \SPOOL\MQUEUE\ ,
\SPOOL\RQUEUE of your NET.
(8) Make sure you have a \SPOOL\MQUEUE directory defined. Create
\SPOOL\RQUEUE directory.
(9) FORWARD.LST has a complete list of bulletin users. The first field
in the record is HOST call sign, followed by a comma. The next field
is the "To:" for bulletins. Normally its "Bulletin".
Testing installation of Gateway:
Enter a message on the WA7MBL to one of the users defined in FWD.BBS
for local users.
Have a user add you as there default mail gateway.
Have the user send a message to any user on a remote unconnected BBS.
This should cause a message to appear at your station as: AUSER@REMOTE
and the EXPORT gateway TCPX.COM should extract it from \SPOOL\RQUEUE
delete it ...and create a text-to-mail input into WA7MBL BBS.
Issue a command X to the WA7MBL BBS to start forwarding. You should see
the user message sent to the BBS. You should see the message you entered
into the BBS as a couple of #.WRK, #.TXT in the \SPOOL\MQUEUE directory
(as defined in PXX.CNF).
Good luck and feel free to send me questions, comments and problems,
or bugs to:
WA3PXX@WA3PXX PBBS (HF gateway W3IWI via SKIPnet).